//
//  CustumUILable.m
//  UI_Day02_homework
//
//  Created by aaaaaa on 16/6/4.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CustumUILable.h"

@implementation CustumUILable

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

//- (instancetype)initWithFrame:(CGRect)frame
+ (instancetype)custumUILableWithFrame:(CGRect)frame withText:(NSString *)text{
    CustumUILable *custum = [[CustumUILable alloc] initWithFrame:frame];
    custum.frame =frame;
    custum.text = text;
    return [custum autorelease];
}

@end
